/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ExtractorInterface;

import CrlException.CrlException;
import java.util.Hashtable;
import org.jsoup.nodes.Document;

/**
 *
 * @author CUHUUHOANG
 */
public interface ExtractorInterface {

    
    public Hashtable<String,String> getData() throws CrlException;//each //dont have image link    
    public String[] filterURL(String[] inputURL) throws CrlException;//each //before add to frontier, check link string
    public boolean isURLused() throws CrlException;//each //check page in database
    public boolean hasContent() throws CrlException;//each //before add to database
    public void setDocument(Document doc) throws CrlException;//each
    public void setURL(String url) throws CrlException;//each
    public String[] getImageLink() throws CrlException;//each
}
